/**
 * 首页
 */
export default [
    {
        path: '/',
        name: 'index',
        component: resolve => require(['@/pages/index/Index.vue'], resolve),
        meta: {
            title: '前牛新品',
        }
    },
    {
        path: '/search',
        name: 'search',
        component: resolve => require(['@/pages/index/Search.vue'], resolve),
        meta: {
            title: '搜索',
        }
    },
    // 投诉商品
    {
        path: '/complaint',
        name: 'complaint',
        component: resolve => require(['@/pages/index/complaint/Index.vue'], resolve),
        meta: {
            title: '投诉商品',
        }
    },
    // 详情页
    {
        path: '/detail/nav-detail/:id',
        component: resolve => require(['@/pages/index/detail/Nav-detail.vue'], resolve),
        meta: {
            title: '商品列表',
        }
    },
    //幸运助力or免费抽奖
    {
         path: '/detail/help-list',
         component: resolve => require(['@/pages/index/detail/help-list.vue'],resolve),
         meta: {
            title:'幸运助力',
         },
    },
    {
         path: '/detail/lottery-detail',
         component: resolve => require(['@/pages/index/detail/Lottery-detail.vue'],resolve),
         meta: {
            title:'幸运详情',
         }
    },
    {
        path: '/detail/free-list',
        component: resolve => require(['@/pages/index/detail/Free-list.vue'], resolve),
        meta: {
            title: '免费抽奖',
        }
    },
    {
         path: '/detail/free-detail',
         component: resolve => require(['@/pages/index/detail/Free-detail.vue'],resolve),
         meta: {
            title:'免费详情',
         }
    },
    {
         path: '/detail/free-chance',
         component: resolve => require(['@/pages/index/detail/Free-chance.vue'],resolve),
         meta: {
            title:'分享获得机会',
         }
    },
    {
        path: '/detail/share-list',
        component: resolve => require(['@/pages/index/detail/Share-list.vue'], resolve),
        meta: {
            title: '分享有礼',
        }
    },
    {
         path: '/detail/share-detail',
         component: resolve => require(['@/pages/index/detail/Share-detail.vue'],resolve),
         meta: {
            title:'分享详情',
         }
    }, 
    {
         path: '/detail/activity-detail/:id',
         component: resolve => require(['@/pages/index/detail/Activity-detail.vue'],resolve),
         meta: {
            title:'商品详情', 
         },
    },
   

    {
        path: '/detail/experience-detail/:id',
        component: resolve => require(['@/pages/index/detail/Experience-detail.vue'], resolve),
        meta: {
            title: '体验商品详情',
        }
    },
    {
        path: '/detail/Experience-sucess',
        component: resolve => require(['@/pages/index/detail/Experience-sucess'], resolve),
        meta: {
            title: '预约成功',
        }
    },
    {
        path: '/detail/lucky',
        component: resolve => require(['@/pages/index/detail/Lucky.vue'], resolve),
        meta: {
            title: '幸运名单',
        }
    },

    // 更多新品
    {
        path: '/more',
        component: resolve => require(['@/pages/index/More.vue'], resolve),
        meta: {
            title: '更多新品',
        }
    }
];